package model.aop.demo.service.impl;


import model.aop.demo.annoation.Log;
import model.aop.demo.entity.User;
import model.aop.demo.service.UserService;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {

    public User login(String username, String password) {
        System.out.println("3 aop ----->登录方法被执行");
        return null;
    }
    @Log
    public int register() {
        return 1;
    }
}
